package cn.xxy.beans;
/**
 * 数据源配置
 */
public class DataSourceConfig extends java.util.Properties{
	private String dataSourceAdapter="cn.xxy.datasource.NoneDataSourceAdapter";
	private String dbName;
	private String jdbcUrl;
	private String driverClass;
	private String username;
	private String password;

	public String getDataSourceAdapter() {
		return dataSourceAdapter;
	}

	public void setDataSourceAdapter(String dataSourceAdapter) {
		this.dataSourceAdapter = dataSourceAdapter;
	}
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getJdbcUrl() {
		return jdbcUrl;
	}

	public void setJdbcUrl(String jdbcUrl) {
		this.jdbcUrl = jdbcUrl;
	}

	public String getDriverClass() {
		return driverClass;
	}

	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "DataSourceConfig [dbName=" + dbName + ",dataSourceAdapter=" + dataSourceAdapter + ", jdbcUrl=" + jdbcUrl + ", driverClass=" + driverClass + ", username=" + username + ", password=" + password + "]";
	}
}
